package com.os.ch2.scope;

import org.springframework.stereotype.Service;

/**
 * @Author Matt
 * @Date 2022-01-10
 * @Desc: 编写singleton的bean，单例
 * @Version V1.0
 */
@Service  //默认为singleton，相当于注解@scope("singleton")
public class DemoSingletonService {
}
